package com.wk.springboot;

import com.thunisoft.optimus.convert.word.api.WordConverter;
import com.thunisoft.optimus.convert.word.enums.WordConvertType;

/**
 * @Classname ConvertUtils
 * @Description 文档转换工具
 * @Date 2020/7/13 16:51
 * @Author by weikai
 */
public class ConvertUtils {

  public static void main(String[] args) {
    convert();
  }

  public static void convert(){
    new WordConverter("S:\\wk\\服务调用说明文档.docx").convert("S:\\wk\\服务调用说明文档.pdf", WordConvertType.PDF);
  }

}
